﻿using System;

namespace winS.Unity
{
    /// <summary>
    /// Specifies the initialization priority of the module.
    /// This Attribute is only valid for <see cref="Module"/>
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, Inherited = false)]
    public class ModuleInitializationPriorityAttribute : Attribute
    {
        internal int priority;

        public ModuleInitializationPriorityAttribute(int priority = 0)
        {
            this.priority = priority;
        }
    }
}
